package com.CST.vo.ys;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 预算执行管理页面
 * @author cw
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class YsAccountDetailBusinessOrManageVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("ID")
    @ExcelIgnore
    private Long id;

    @ApiModelProperty("编号")
    @ExcelProperty("编号")
    private Integer num;

    @ApiModelProperty("预算科目编码")
    @ExcelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty("预算科目名称")
    @ExcelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty("用友科目编码")
    @ExcelProperty("科目编码")
    private String accountCode;

    @ApiModelProperty("用友科目名称")
    @ExcelProperty("科目名称")
    private String accountName;

    @ApiModelProperty("日期")
    @ExcelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dateTime;

    @ApiModelProperty("凭证号")
    @ExcelProperty("凭证号")
    private String accountNum;

    @ApiModelProperty("部门编码")
    @ExcelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("部门名称")
    @ExcelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("预算部门编码")
    @ExcelIgnore
    private String ysDeptCode;

    @ApiModelProperty("预算部门名称")
    @ExcelIgnore
    private String ysDeptName;

    @ApiModelProperty("摘要")
    @ExcelProperty("摘要")
    private String description;

    @ApiModelProperty("金额")
    @ExcelProperty("金额")
    private Double amount;

    @ApiModelProperty("院区 1三香 2 浒关")
    @ExcelProperty("院区(1:三香 2:浒关)")
    private Integer yard;

    @ApiModelProperty("导入：0 新增：1 编辑：2")
    @ExcelIgnore
    private Integer insertFlag;

    @ApiModelProperty("时间")
    @ExcelIgnore
    private Integer period;

    @ApiModelProperty("1:业务职能  2:管理职能")
    @ExcelIgnore
    private Integer type;

    @ApiModelProperty("预算科目ID")
    @ExcelIgnore
    private Integer subjectId;

    @ApiModelProperty("0：未删除  1:已删除")
    @ExcelIgnore
    private Integer deleteFlag;

    @ApiModelProperty("部门id")
    @ExcelIgnore
    private Integer deptId;
}
